package com.eshop.modules.activity.service.dto;

import com.eshop.annotation.Query;

public class StoreCombinationQueryCriteria
{
    @Query(type = Query.Type.INNER_LIKE)
    private String title;
    @Query
    private Integer isDel;
    
    public String getTitle() {
        return this.title;
    }
    
    public Integer getIsDel() {
        return this.isDel;
    }
    
    public void setTitle(final String title) {
        this.title = title;
    }
    
    public void setIsDel(final Integer isDel) {
        this.isDel = isDel;
    }
    
    @Override
    public boolean equals(final Object o) {
        if (o == this) {
            return true;
        }
        if (!(o instanceof StoreCombinationQueryCriteria)) {
            return false;
        }
        final StoreCombinationQueryCriteria other = (StoreCombinationQueryCriteria)o;
        if (!other.canEqual(this)) {
            return false;
        }
        final Object this$isDel = this.getIsDel();
        final Object other$isDel = other.getIsDel();
        Label_0065: {
            if (this$isDel == null) {
                if (other$isDel == null) {
                    break Label_0065;
                }
            }
            else if (this$isDel.equals(other$isDel)) {
                break Label_0065;
            }
            return false;
        }
        final Object this$title = this.getTitle();
        final Object other$title = other.getTitle();
        if (this$title == null) {
            if (other$title == null) {
                return true;
            }
        }
        else if (this$title.equals(other$title)) {
            return true;
        }
        return false;
    }
    
    protected boolean canEqual(final Object other) {
        return other instanceof StoreCombinationQueryCriteria;
    }
    
    @Override
    public int hashCode() {
        final int PRIME = 59;
        int result = 1;
        final Object $isDel = this.getIsDel();
        result = result * 59 + (($isDel == null) ? 43 : $isDel.hashCode());
        final Object $title = this.getTitle();
        result = result * 59 + (($title == null) ? 43 : $title.hashCode());
        return result;
    }
    
    @Override
    public String toString() {
        return "StoreCombinationQueryCriteria(title=" + this.getTitle() + ", isDel=" + this.getIsDel() + ")";
    }
}
